package com.supor.aiot.common.entity;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * ---------------------------------------------------------------- <br>
 * Copyright (C) 2014-2020, by het, Shenzhen, All rights reserved.  <br>
 * ---------------------------------------------------------------- <br>
 * <p>
 * 描述: 	"sysCodeId": 2242,
 * 			"ossId": "SuporAdmin",
 * 			"sysCodeType": "QUESTION_TYPE",
 * 			"sysCodeSub": "01",
 * 			"cnName": "产品使用问题",
 * 			"enName": "产品使用问题",
 * 			"localName": "产品使用问题",
 * 			"createTime": "2021-01-28 14:56:28",
 * 			"lastUpdate": "2021-01-28 14:56:28",
 * 			"isDel": 0,
 * 			"note": "产品使用问题",
 * 			"remark": "问题反馈类型" <br>
 * 作者: lei <br>
 * 日期: 2020/12/8 <br>
 */
public class QuestionTypeBean implements Parcelable {
    int sysCodeId;
    String ossId;
    String sysCodeType;
    String sysCodeSub;
    String cnName;
    String enName;
    String localName;
    String createTime;
    String lastUpdate;
    int isDel;
    String note;
    String remark;

    public int getSysCodeId() {
        return sysCodeId;
    }

    public void setSysCodeId(int sysCodeId) {
        this.sysCodeId = sysCodeId;
    }

    public String getOssId() {
        return ossId;
    }

    public void setOssId(String ossId) {
        this.ossId = ossId;
    }

    public String getSysCodeType() {
        return sysCodeType;
    }

    public void setSysCodeType(String sysCodeType) {
        this.sysCodeType = sysCodeType;
    }

    public String getSysCodeSub() {
        return sysCodeSub;
    }

    public void setSysCodeSub(String sysCodeSub) {
        this.sysCodeSub = sysCodeSub;
    }

    public String getCnName() {
        return cnName;
    }

    public void setCnName(String cnName) {
        this.cnName = cnName;
    }

    public String getEnName() {
        return enName;
    }

    public void setEnName(String enName) {
        this.enName = enName;
    }

    public String getLocalName() {
        return localName;
    }

    public void setLocalName(String localName) {
        this.localName = localName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getLastUpdate() {
        return lastUpdate;
    }

    public void setLastUpdate(String lastUpdate) {
        this.lastUpdate = lastUpdate;
    }

    public int getIsDel() {
        return isDel;
    }

    public void setIsDel(int isDel) {
        this.isDel = isDel;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.sysCodeId);
        dest.writeString(this.ossId);
        dest.writeString(this.sysCodeType);
        dest.writeString(this.sysCodeSub);
        dest.writeString(this.cnName);
        dest.writeString(this.enName);
        dest.writeString(this.localName);
        dest.writeString(this.createTime);
        dest.writeString(this.lastUpdate);
        dest.writeInt(this.isDel);
        dest.writeString(this.note);
        dest.writeString(this.remark);
    }

    public QuestionTypeBean() {
    }

    protected QuestionTypeBean(Parcel in) {
        this.sysCodeId = in.readInt();
        this.ossId = in.readString();
        this.sysCodeType = in.readString();
        this.sysCodeSub = in.readString();
        this.cnName = in.readString();
        this.enName = in.readString();
        this.localName = in.readString();
        this.createTime = in.readString();
        this.lastUpdate = in.readString();
        this.isDel = in.readInt();
        this.note = in.readString();
        this.remark = in.readString();
    }

    public static final Creator<QuestionTypeBean> CREATOR = new Creator<QuestionTypeBean>() {
        @Override
        public QuestionTypeBean createFromParcel(Parcel source) {
            return new QuestionTypeBean(source);
        }

        @Override
        public QuestionTypeBean[] newArray(int size) {
            return new QuestionTypeBean[size];
        }
    };
}
